package com.itheima.mapper;

import com.itheima.pojo.Class;
import com.itheima.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ClassMapper {
    List<Class> list();
    List<Student> listStudentsStudents(@Param("student") Student student);
    void updateStudent(@Param("student") Student student ,@Param("condition") Student condition);

}
